/*
 * @Author: WLang
 * @LastEditors: WLang
 * @Description: 
 * @Date: 2023-07-24 14:39:11
 * @LastEditTime: 2023-07-26 14:27:11
 * @FilePath: \my-wyy\src\router\index.js
 */
import { createRouter, createWebHashHistory } from 'vue-router'
const routes = [
  {
    path: '/',
    name: 'home',
    component: () => import('../views/HomeView')
  },
  {
    path: '/playlist',
    name: 'playlist',
    component: () => import('../views/PlayList')
  },
  {
    path: '/song',
    name: 'song',
    component: () => import('../views/SongPlay')
  }
]

const router = createRouter({
  history: createWebHashHistory(),
  routes
})

export default router
